<?php
class Users{
	
	public static function login( $db , $username , $password )
	{
		return $db->get_one("select * from `s_users` where `username`='".$username."' and `password` = '".md5($password)."'");	
	}
}